from flask_wtf import FlaskForm
from wtforms import StringField, PasswordField, SubmitField
from wtforms.validators import DataRequired


class LoginForm(FlaskForm):
    user = StringField('Username', validators=[DataRequired()])
    pwd = PasswordField('Pasword', validators=[DataRequired()])
    veri = StringField('verify', validators=[DataRequired()])
    submit = SubmitField('登录')

